#ifndef	GKT_PR_SENSOR_H
#define	GKT_PR_SENSOR_H

#include "gkt_types.h"

enum{
	GKT_PR_SENSOR_POWER_ON = 0,
	GKT_PR_SENSOR_POWER_OFF,
};

#if defined(GKT_CONFIG_PR_SENSOR_POWER_OFF_CNT_MAX)
#define GKT_PR_SENSOR_POWER_OFF_CNT_MAX GKT_CONFIG_PR_SENSOR_POWER_OFF_CNT_MAX
#else
#define GKT_PR_SENSOR_POWER_OFF_CNT_MAX	5
#endif
#define GKT_PR_SENSOR_POWER_OFF_TIME_S	600
#define GKT_PR_SENSOR_SENSE_SHUTDOWN 0
#define GKT_PR_SENSOR_SENSE_GEAR_DEFAULT 5
#define GKT_PR_SENSOR_SENSE_GEAR_MAX 10

int gkt_pr_sensor_is_wakeup(void);
int gkt_pr_sensor_is_exist(void);
int gkt_pr_sensor_init(void);
void gkt_pr_sensor_set_threshold(uint32_t level, uint32_t is_config);

#endif
